package org.spring.springboot.app.order.harddeviceorder.dao;

import org.apache.ibatis.annotations.Param;
import org.spring.springboot.app.order.harddeviceorder.domain.po.DeviceOrderPO;
import org.spring.springboot.app.order.harddeviceorder.domain.vo.DeviceOrderSearchVO;
import org.spring.springboot.app.order.harddeviceorder.domain.vo.DeviceOrderVO;

import java.util.List;

public interface DeviceOrderDao {
    int deleteByPrimaryKey(String id);

    int insert(DeviceOrderPO record);

    int insertSelective(DeviceOrderPO record);

    DeviceOrderPO selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(DeviceOrderPO record);

    int updateByPrimaryKey(DeviceOrderPO record);

    List<DeviceOrderVO> findPage(DeviceOrderSearchVO searchvo, @Param("pageNum") int pageNum, @Param("pageSize") int pageSize);
}